//
//  DSPickView.h
//  zhongcaixun
//
//  Created by apple on 2018/8/9.
//  Copyright © 2018年 sunpeng. All rights reserved.
//

//可选择列数 JKAPPDataArray的格式：@[@[@"1",@"1"],@[@"2",@"2"]]  JKAPPDataArray.count 为列数
//注意：列与列没有从属关系

#import <UIKit/UIKit.h>

@interface DSPickView : UIView

@property (nonatomic,copy) void(^cancelBlock)(void);

@property (nonatomic,copy) void(^sureBlock)(NSArray *selectArray, NSArray *selectIndexArray);//选择的文字 选择的索引
@property (nonatomic,assign) int maxRow;
//一个picker
- (instancetype)initWithTitle:(NSString *)title data:(NSArray *)JKAPPDataArray;

//一个picker
- (instancetype)initWithTitle:(NSString *)title data:(NSArray *)JKAPPDataArray seleteIndex:(NSInteger)seleteIndex;

//2个picker 时间 开始结束
- (instancetype)initWithTitle:(NSString *)title beginTime:(NSString *)bTime JKAPPEndTime:(NSString *)eTime;

//展示
- (void)show;

@end
